import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
type int = number;
//class SPanicBuyShopForMsg
    
    export  class SPanicBuyShopForMsg
    {
       

        public __write(arg1: SerializeStream): void
        {
            arg1.writeInt(this.code);
            arg1.writeDate(this.beginTime);
            arg1.writeDate(this.endTime);
            arg1.writeInt(this.leftSeconds);
            arg1.writeString(this.description);
            return;
        }

        public __read(arg1: SerializeStream): void
        {
            this.code = arg1.readInt();
            this.beginTime = arg1.readDate();
            this.endTime = arg1.readDate();
            this.leftSeconds = arg1.readInt();
            this.description = arg1.readString();
            return;
        }

        public /* var */code: int;

        public /* var */beginTime: Date;

        public /* var */endTime: Date;

        public /* var */leftSeconds: int;

        public /* var */description: string;
    }
